# $Id: PKGBUILD 90116 2013-05-06 19:40:25Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>

pkgname=xplanet
pkgver=1.3.0
pkgrel=2
pkgdesc="An Xearth wannabe"
arch=(i686 x86_64)
url="http://xplanet.sourceforge.net/"
license=('GPL')
depends=('pango' 'libungif' 'libtiff' 'libxss')
source=(http://downloads.sourceforge.net/project/xplanet/xplanet/$pkgver/xplanet-$pkgver.tar.gz)
md5sums=('41f7db2ccd1d8b4b989cacaf9adfe692')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --with-freetype
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make prefix=$pkgdir/usr install
}
